Quote:
Originally Posted by Eagle Eyes
I uninstalled it, since it was full of bugs.
You have fixed the similie bug. Good job!
Well i think you need good instructions for installing.
Before i install it again, i wanna make sure i am doing things right.
Right now, i use the one .htaccess file which effects all the subdirectories.
Currently my .htaccess file looks like this.
How should i paste your .htaccess code?
By the way, Google and Youtube images from the editor are gone!! Nothing there.
|
Hi!
This code should work, I've also optimized your existing code.
Code:
## OpenSEF plain htaccess file
## Can be commented out if causes errors
Options FollowSymLinks
## mod_rewrite in use
RewriteEngine On
## If Joomla is installed in the web server root
## RewriteBase /
## If Joomla is installed in a sub-directory
## RewriteBase /directory_name_here
RewriteBase /
RewriteEngine on
RewriteCond %{HTTP_HOST} ^pakistaniforces\.com
RewriteRule ^(.*)$ http://www.pakistaniforces.com/$1 [L,R=301]
RewriteRule ^(sitemap.*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{HTTP_HOST} ^pakistaniforcesforum\.com
RewriteRule ^(.*)$ http://www.pakistaniforcesforum.com/index.php?styleid=35/$1 [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^videos\.html&page=([0-9]+)$ http://www.pakistaniforcesforum.com/videos-page$1.html [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^videos\.html$ index.php?videos=1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^videos-page([0-9]+)\.html$ index.php?videos=$1 [L]
## Begin 3rd Party or OpenSEF Section
##
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
##
## End 3rd Party or OpenSEF Section
Note! This code has been edited, use the code from this message not from the email.