![]() |
|
|||||||
| Register | FAQ | Members List | Arcade | Dev Directory | HB Bank | Calendar | Search | Today's Posts | Mark Forums Read |
| phpLD Support Help Post the problems that you are having with your phpLD directory to get members to lend a hand in support. |
| Have A Look At Some Of Our Webmaster Related Sponsors! | |||||
![]() Script Directory |
![]() Advertise Here |
![]() Market Leverage |
![]() Free Templates |
![]() 3D Guide-characters |
![]() Advertise Here |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
New Hunter
|
Trying to get started with my new php directory. For the past two days, I 'm trying to enable the SEO, it doesn't work for me.
I enabled the URL rewrite in admin + I did upload the .htaccess file to the root directory (did not make any changes to it) The script is installed in the root of the site. running 3.2 I can see that the URL for a given directory is reflecting the directory url and same for subdirectory, but i get 404 error. How did you enable SEO and url rewrite, please help. thanks, |
|
|
|
|
|
#2 (permalink) |
|
The Dev Hunter
|
I would update to the new 3.3 which is very easy. The URL rewrite system and the SEO section is all new.
I have had a few problems with the 3.2s myself but the 3.3 is excellent.
__________________
l GuideHunters.com l Devhunters.net Directory l Web Directory l Be a star in The DevHunters Directory |
|
|
|
|
|
#3 (permalink) |
|
New Hunter
|
Any thing i should do with the .htaccess file.
Many lines are commented. ################################################# ## Apache Server Settings ## ################################################# # Prevent .htaccess and .htpasswd files from being viewed by web clients <Files "^\.ht"> Order allow,deny Deny from all </Files> # Protect files <Files ~ "^(.*)\.(inc|inc\.php|tpl|sql)$"> Order deny,allow Deny from all </Files> # Protect directories <Files ~ "^(backup|files|images|include|lang|libs(/.+)?|temp(/.+)?|templates(/.+)?|javascripts(/.+)?)$"> Order deny,allow Deny from all </Files> # Disable directory browsing #Options -Indexes # Follow symbolic links in this directory #Options +FollowSymLinks # Override PHP settings that cannot be changed at runtime # (If your server supports PHP settings via htaccess you can comment following two lines off) # php_value register_globals 0 # php_value session.auto_start 0 # Customized error messages # ( If you are running in a subfolder please add it, example: "directory/index.php?httpstatus=404" ) ErrorDocument 404 index.php?httpstatus=404 # Set the default handler DirectoryIndex index.php # URL rewrite rules <IfModule mod_rewrite.c> RewriteEngine On #Make sure RewriteBase points to the directory where you installed phpLD. #Example: "/phpld" if your installation is in a "phpld" subdirectory. RewriteBase / ##Latest Links Rewrite RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^latest-links\.htm[l]?$ index.php?list=latest [QSA,NC,L] ##Top Hits Rewrite RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^top-hits\.htm[l]?$ index.php?list=top [QSA,NC,L] ##Latest Articles Rewrite RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^latest-articles\.htm[l]?$ index.php?list=latestarticles [QSA,NC,L] ##Details Link Page Rewrite RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule (.*)detail/link-(.*)\.htm[l]?$ detail.php [QSA,NC] ##Article Page Rewrite RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule (.*)articles/article-(.*)\.htm[l]?$ article.php [QSA,NC] ##Author Page Rewrite RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule (.*)authors/author-(.*)\.htm[l]?$ author.php [QSA,NC] ##Pagination Rewrite RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule (.*)page-[0-9]+\.html$ index.php [QSA,NC,L] ##Pages redirect RewriteCond %{REQUEST_URI} !page-[0-9]+\.html?$ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^(.+)\.html$ page.php?name=$1 [NC,QSA,L] ##Category redirect RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^(.*)$ index.php [QSA,L] </IfModule> |
|
|
|
|
|
#4 (permalink) |
|
The Dev Hunter
|
What is the URL for the dir? You can PM me if you would like. Let me take a look at it.
__________________
l GuideHunters.com l Devhunters.net Directory l Web Directory l Be a star in The DevHunters Directory |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|