Osclass Support Forums

Osclass theme support => Sigma Osclass Theme => Topic started by: hepi on April 06, 2021, 12:31:42 PM

Title: Friendly URL
Post by: hepi on April 06, 2021, 12:31:42 PM
Hei,

Please I need help to activate friendly URL

it said

Quote
File .htaccess already exists and was not modified. Here's the content you have to add to the .htaccess file. If you can't modify the file or experience some problems with the URLs, please deactivate the Friendly URLs option.

Code: [Select]
<IfModule mod_rewrite.c>

RewriteEngine On

RewriteBase /

RewriteRule ^index\.php$ - [L]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /index.php [L]

</IfModule>



BUT My current .htaccess looks like

Code: [Select]
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php73” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php73___lsphp .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

What should I do?
Can I just replace or add my existing .htaccess ?

Thanks
Title: Re: Friendly URL
Post by: David Beaudoin on April 06, 2021, 03:12:24 PM
I am not a great specialist but I think you can add. Either way you don't risk anything if it doesn't work, you put it back as it was and it's over
Title: Re: Friendly URL
Post by: David Beaudoin on April 06, 2021, 03:14:16 PM
Don't forget to save it first of course and rename it .htaccessORIGINAL for example
Title: Re: Friendly URL
Post by: hepi on April 06, 2021, 03:27:57 PM
I am not a great specialist but I think you can add. Either way you don't risk anything if it doesn't work, you put it back as it was and it's over

ok brother merci
Title: Re: Friendly URL
Post by: David Beaudoin on April 06, 2021, 03:30:08 PM
Tu es français ? Tu peux mettre un lien vers ton site ?
Title: Re: Friendly URL
Post by: hepi on April 06, 2021, 03:35:31 PM
Don't forget to save it first of course and rename it .htaccessORIGINAL for example

It works
But
It has problem with related listings. The item is not clickable
Title: Re: Friendly URL
Post by: David Beaudoin on April 06, 2021, 03:39:29 PM
So there I can not help you. You have to wait for MB Theme point can you link to your site please?
Title: Re: Friendly URL
Post by: David Beaudoin on April 06, 2021, 04:11:21 PM
Vas-y, mets le lien vers ton site bro, en plus ça te fera un backlink !