htaccess rewrite url
htaccess rewrite url - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the htaccess rewrite url error on your web browser. Problem :
Solution :
We hope that this article has helped you resolve the htaccess, redirects, url-rewriting error in your web browsers. Enjoy browsing the internet uninterrupted!
is it possible to create a 301 redirect for the following URL string:
Original URL:http://www.example.com/old/old-directory/blog-post-1.html
Desired destination URL:http://www.example.com/new/new-directory/1.html
Using a mod_alias Redirect in your root .htaccess file:
Redirect 301 /old/old-directory/blog-post-1.html /new/new-directory/1.html
Reference:
https://httpd.apache.org/docs/2.4/mod/mod_alias.html#redirect
Comments
Post a Comment