• Welcome to WooUSEFUL by PHPVIBE . Please log in.

[ Video Sharing CMS v4 ] htaccess redirect

Started by krejcis,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

krejcisTopic starter

Hi guys,
I think this will be very helpful for everybody:
Question is how it is possible to have better URL in created pages from admin menu ? I wasn´t able to insert it correctly to phpvibe htaccess.
If you will create a new page the URL will looks like:
http://www.yourwsite.com/read/context/X/

How to modify htaccess file to have
"http://www.yourwsite.com/context


Ithink that code should be like:
Options +FollowSymlinks
RewriteEngine on
rewriterule ^read/yourwsite/X/(.*)$ http://www.yourwsite.com/context$1 [r=301,nc]


So how it shoul be done and where in htaccess should be code located?

Thanks for help.
  •  

Marius

Hi, you can't do that, the rooter needs /component/title/id/ or /component/id/title, this are the only 2 options.
If this helped, consider buying me a coffee.
20 years coding, tweaking, building in PHP. Still creating!
  •  

krejcisTopic starter

  •  

Similar topics (7)