Home Apache redirect to ignore folder
Reply: 0

Apache redirect to ignore folder

user717
1#
user717 Published in July 15, 2018, 9:20 pm

I have a self-hosted multi-site Wordpress instance. There are several different domains attached to this instance - but I don't like the way the URL looks.

So, the actual page URL looks something like this :

http://myblog.mydomain.com/myblog/about-us/contact/

I would like people to click a link that looks like this, and for this URL to appear in the browser address bar :

http://myblog.mydomain.com/about-us/contact/

I want apache webserver to redirect to

http://myblog.mydomain.com/myblog/about-us/contact/

What would the mod_rewrite rule look like ? Should it appear near the top of the http.conf redirects, and be last?

Thanks

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.309985 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO