This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

hepi

  • **
  • 16 posts
Friendly URL
« 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

*

David Beaudoin

  • ****
  • 242 posts
  • https://abrutis.net
Re: Friendly URL
« Reply #1 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
Regards,
David
0640404083

*

David Beaudoin

  • ****
  • 242 posts
  • https://abrutis.net
Re: Friendly URL
« Reply #2 on: April 06, 2021, 03:14:16 PM »
Don't forget to save it first of course and rename it .htaccessORIGINAL for example
Regards,
David
0640404083

*

hepi

  • **
  • 16 posts
Re: Friendly URL
« Reply #3 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

Marked as best answer by hepi on April 06, 2021, 03:35:43 PM
*

David Beaudoin

  • ****
  • 242 posts
  • https://abrutis.net
Re: Friendly URL
« Reply #4 on: April 06, 2021, 03:30:08 PM »
Tu es français ? Tu peux mettre un lien vers ton site ?
Regards,
David
0640404083

*

hepi

  • **
  • 16 posts
Re: Friendly URL
« Reply #5 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

*

David Beaudoin

  • ****
  • 242 posts
  • https://abrutis.net
Re: Friendly URL
« Reply #6 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?
Regards,
David
0640404083

*

David Beaudoin

  • ****
  • 242 posts
  • https://abrutis.net
Re: Friendly URL
« Reply #7 on: April 06, 2021, 04:11:21 PM »
Vas-y, mets le lien vers ton site bro, en plus ça te fera un backlink !
Regards,
David
0640404083