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

Sample: 

https://odevvebilim.com/            WORDPRES 

https://odevvebilim.com/soru/    question2answer

GOOGLE CONSOL EROR URL SAMPLE

EROR : https://odevvebilim.com/4/elektrigin-bulusu-ile-ortaya-cikan-icatlara-ornekler?show=5

TRUE: https://odevvebilim.com/soru/4/elektrigin-bulusu-ile-ortaya-cikan-icatlara-ornekler?show=5

MY HTACCESS

<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\.odevvebilim\soru\.com$ [NC]
RewriteRule ^(.*)$ https://odevvebilim.com/soru/$1 [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php?qa-rewrite=$0&%{QUERY_STRING} [L]
</IfModule>

Please log in or register to answer this question.

...