[ Video Sharing CMS v4 ] Shows Homepage when click on any video or page

Started by ownbond,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ownbondTopic starter

hello,

http://www.vjb.tv/

when i click on any video or page or any link it shows the homepage after loading.. help please
  •  

Hersh

You are either missing rewrite rules or mod_rewrite (Apache) or HttpRewrite (nginx) are not enabled. If you're on Apache, make sure you have the .htaccess file at the root and mod_rewrite is enabled.

If you're on nginx, try the rewrite rules I wrote for my server:
rewrite ^/embed/([^/]*)/$ /embed.php?id=$1 last;
	rewrite ^/feed(.*)$ /feed.php last;
if (!-e $request_filename)
    {
        rewrite ^/(.*)/?$ /index.php?rp=$1 last;
    }

  •  

Marius P.

Hi, seems you fixed it!
But for the sake of the conversation:
- Either .htaccess is missing (servers generate an blank one, has to be overwritten)
- Or mod_rewrite is not working / missing AllowOverride All
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!
  •  

Similar topics (7)