• Welcome to PHPVIBE Forums. Please log in.

I want SEO url html

Started by quypro,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

quyproTopic starter

Hi every body.
Now url my website is: http://domain.com/video/id_video/title_video/
I want SEO url as: http://domain.com/video/id_video/title_video.html
What should I do ?
Thank you very match !
  •  

PHPVibe R

Hi! Please ask this kind of questions at support.
Important!
The forums are not intended for support! There is Dedicated support available.
The troubleshooting can help a lot!
  •  

AlexH

just go to permalinks link and add .html and the end.
like: /video/:id/:name.html

quyproTopic starter

Thank you.
But i have tried, it became http://domain.com/video/id_video/title_video.html/
How to remove / at end url ?
Thanks so much !
  •  

quyproTopic starter

Quote from: Rafael Q on
Hi! Please ask this kind of questions at support.
I asked Support from 2018-07-13 16:45, but no one answered me :(
  •  

AlexH

Try dhis in htaccess files
to remove /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R] # <- for test, for prod use [L,R=301]


to add /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*[^/])$ /$1/ [L,R] # <- for test, for prod use [L,R=301]

quyproTopic starter

Quote from: AlexH on
Try dhis in htaccess files
to remove /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R] # <- for test, for prod use [L,R=301]


to add /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*[^/])$ /$1/ [L,R] # <- for test, for prod use [L,R=301]

thank you for the help, but the adjustment in .htaccess file has no effect.
I tried many ways, but the results did not change :(
  •  

quyproTopic starter

  •  

PHPVibe R

Quote from: quypro on
I asked Support from 2018-07-13 16:45, but no one answered me :(

You need to know that .html is a very old way of handling permalinks.
And some things not even support has time to investigate and test.
Remember: We brought the cms, didn't build it, we're still learning some things about it.
Important!
The forums are not intended for support! There is Dedicated support available.
The troubleshooting can help a lot!
  •  

Similar topics (2)