• Welcome to PHPVIBE Forums. 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 P.

Hi, you can't do that, the rooter needs /component/title/id/ or /component/id/title, this are the only 2 options.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

krejcisTopic starter

  •  

Similar topics (7)