Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Htaccess problem?
08-06-2011, 08:13 PM (This post was last modified: 08-06-2011 09:33 PM by Dreamer26.)
Post: #1
Htaccess problem?
Hello,

I have a problem with sitemap file because i think something wrong with htaccess.
In the xml file i have these kind of urls http://www.lswebcams.comvideo/112379/Sex...ebcam.html
There is no / sign between the domain and the video...and i think thats why if i click on a video my template "disappear"(page not found)

Htaccess looks like:
RewriteEngine On
RewriteRule ^video/([0-9]+)/(.*).html$ ?id=$1&title=$2&option=video [NC]
RewriteRule ^tag_video/(.*).html$ ?tag=$1&option=tag [NC]
RewriteRule ^category_video/([0-9]+)/([0-9]+)/(.*).html$ ?id=$1&p=$2&category=$3&option=category [NC]

I have another site and working perfect with this htaccess but here not.
Another site (streampussy.com use freeadultscript 2.0 version and that is without www)

Any idea what is the problem?


Edit: I added a / sign after ^ now i have full valid url, but if i click on a video i got page not found message...
Find all posts by this user
Quote this message in a reply
08-06-2011, 11:49 PM
Post: #2
RE: Htaccess problem?
did u se defaul setting withoth .html
is your all wenb sites are in same hosting?
Find all posts by this user
Quote this message in a reply
09-06-2011, 12:28 AM
Post: #3
RE: Htaccess problem?
If i use default setting without htaccess modifications everything is ok, but with seo links, i got page not found error on video pages.
Yes, i use the same hosting and other site is working.
Maybe i used / sign after the domain(http://www.lswebcams.com/) when i signed up to your site, and there is one / before all seo links as well, isn't there any function in your code which delete these double // signs?
Find all posts by this user
Quote this message in a reply
09-06-2011, 05:03 PM
Post: #4
RE: Htaccess problem?
Ok, problem almost fixed, i added these two line to config.php

$root_url="/";
$root_dir=$_SERVER["DOCUMENT_ROOT"]."/";

Is was in the previous version but not in the last.

Btw, now i cannot add videos in the admin panel i got this message at Videos "Get Videos From : YouPorn Bot ||| Redtube, tube8 etc... bots are on way. Please request other bots from FreeAdultScript From."
So redtube and eporner link not active and youporn is not working...

Can you give me any advice?
Find all posts by this user
Quote this message in a reply
09-06-2011, 09:54 PM
Post: #5
RE: Htaccess problem?
read this
http://forum.freeadultscript.com/showthread.php?tid=356
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: