Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
1.1k views
in Themes by

Hello dear

I worked htaccess file 

But (OK) does not appear in the first option

?How do that

I will pay $ 10 for this service

1.8.5 Question2Answer version: 

Q2A version: 1.8.5
by
What webserver are you using? AFAIK the first option does not work with Nginx.
by
meet the same issue
by
+1
According to the PM you sent me you're using HostGator as your web hosting provider, which appears to be running Apache, so that should be fine. However, for the first URL structure option to work the directive "AllowOverride All" must be enabled in your virtual host, otherwise the .htaccess file won't work (see the documentation about htacess linked in that first option). Whether that directive is enabled or not is a question you need to take up with your provider.
Also, as mentioned in the same documentation, you may need to uncomment the directive "RewriteBase /" in your .htaccess file, depending on the webserver configuration.

2 Answers

0 votes
by
Go to file manager

You will see

.htaccess_example file

Rename it to .htaaccess

Thankyou

Love from india
by
I was the same problem but now working
by
Thanks, I did that already
0 votes
by
can you show us your htaccess file. I can help better if i see htaccess file.
by
+1
It's name is .htaccess
and this code in it:
--------------------------------
Options -Indexes
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]
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://www.×××××××.com/$1 [R,L]
</IfModule>
...