How to resolve canonical issue of a website hosted in yahoo small business (Shared Hosting)

How to resolve canonical issue of a website hosted in yahoo small business (Shared Hosting) - 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 How to resolve canonical issue of a website hosted in yahoo small business (Shared Hosting) error on your web browser. Problem :


I have a website www.myapp.com hosted in yahoo small business, which is shared hosting and I don't have access to .htaccess file to modify. I called up yahoo team regarding the issue But It cannot be done. (It can be achieved in yahoo stores).



Basically I want myapp.com and www.myapp.com/index.php must be redirected to /www.myapp.com so, What is the workaround for this.


Solution :

You could try one of these :



Option 1 : In PHP you could check if the URI is /index.php using the $_SERVER["REQUEST_URI"] variable(doc here) before any output is done to the browser, and then redirect the page using HTTP headers like that header('Location: http://myapp.com/'); (doc here)



Option 2 : Using JavaScript to dynamically change the URL of the page, see this questions here.



Option 3 : Desperately hack Yahoo's servers to upload an .htaccess file...



Good luck ^^'


We hope that this article has helped you resolve the seo, redirects, canonical-url 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=