how can I rewrite localhost/base/app_files/Mat.php to main shop
in me with regex.
here is what i have so far

RewriteRule ^main shop/?$ /app_files/Mat.php [R=301,L]

but gives error .

Recommended Answers

All 2 Replies

Member Avatar

WHat are you trying to do? main shop - is not a valid url surely?

iam trying to rewrit the url


to "clean" main shop
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.