Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
in Q2A Core by
edited by

Dear All,

I have taken windows shared hosting at GoDaddy and i installed qa at subdirectory. Now my urls are not SEO friendly since my first option (/123/why-do-birds-sing) is still disabled and shows 404 internal server error. My .htaccess file looks like


DirectoryIndex index.php
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^(.*)//(.*)$
RewriteRule . %1/%2 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php?qa-rewrite=$0&%{QUERY_STRING} [L]
I am not a programming expert and please Can anyone suggests step by step what changes I should make here or with go daddy hosting in order to result this as friendly urls. any help is highly appreciable..Thank you in advance
Perhaps your server is not using Apache?
edited by
in that case what should i do? i know you have solved similar queries..could you suggest something...also my wordpress is also installed in subdirectory..but their urls are seo friendly..you can check site.
Also godday uses IIS for it

1 Answer

0 votes
Excellent!! This worked very fine with the website. I have created this website by my own though I am a doctor and this was one of the toughest challange since i dont know that linux uses apache and windows hosting works with IIS. I think now my site could be more SEO friendly. Anyways thank you so much for sharing such a wonderful question answer open source. Great appreciate.