URL subfolder rewrite without server access

URL subfolder rewrite without server access - 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 URL subfolder rewrite without server access error on your web browser. Problem :


I am having trouble with the following.



I have a site in development that has every link on the site pointing to the wrong folder.



Example:
example.com/en/home/, a site link goes to example.com/en/, which throws a 404.



Now the way the system is setup requires server access but I do not have that and information services is backlogged with requests and will take a week.



But I still need to develop the site. So is there a way to have the browser recognize when example.com/en/ is clicked then automatically redirect it to example.com/en/home so it bypasses the 404 and I can actually work.



I'm looking for anything that gets the job done.



I am considering developing a Chrome app to do this but that would mean a ton of overtime and more work I don't want to do. Is there a easier way of doing this?


Solution :

Just put a PHP/ASP/JSP or whatever server-side language you have available to you in the /en/ directory with a redirect to /en/home/.



PHP Example:



<?php
header('Location: /en/home/', true, 301);


If you can't do that much you're pretty much out of luck as all of the potential solutions are long-winded and PITA.


We hope that this article has helped you resolve the redirects, url-rewriting, 404 error in your web browsers. Enjoy browsing the internet uninterrupted!

Comments

Popular posts from this blog

How to redirect to any domain [duplicate]

"302 found" for index page bad for SEO?

Create redirect from url like www.example.us/?p=100&option=