Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Directory Move Issues
(1 viewing) (1) Guest
Support forum for customers who have purchased JoomSEF 3 (Joomla 1.5 compatible). Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1
  • 2

TOPIC: Directory Move Issues

Directory Move Issues 14 years, 3 months ago #14078

Please help if possible! I met with an internet marketing consultant today, and he informed me that the splash page I had on the front page was not SEO friendly, and my Joomla directory was previously in the domain www.midsunspecialtyproducts.com/retail/.

In order to fix this, I had to move the directory down to www.midsunspecialtyproducts.com, and I followed a tutorial on what Joomla requires when moving directories, but now my JoomSEF links are all out of wack! The store link doesn't work anymore (used to direct to the virtuemart component) and my domain redirects don't work. The rest of the pages seem fine. If anyone can help, it would be much appreciated!
The topic has been locked.

Re:Directory Move Issues 14 years, 3 months ago #14084

  • dajo
  • OFFLINE
  • Posts: 5069
Hello,

I've noticed that your article URLs work all right and that you've disable SEF for virtuemart only. What exactly was the problem with the virtuemart links? What happened when you clicked the link?

Best regards,
ARTIO Support Team
ARTIO Support Team
The topic has been locked.

Re:Directory Move Issues 14 years, 3 months ago #14117

I should have been more specific on my post. I orginally had two .htaccess files . One for the root directory (public_html/) and one inside the retail/ folder. The htaccess in the retail folder held the joomsef code. The .htaccess file in the root directory held 301 redirections for my two secondary domains (www.nitro-tape.com) and (www.tommytape.com).

Now that I moved the site out of the retail directory and into the root, the old .htaccess was overwritten and my redirects disappeared. I figured it was an easy solve, and went back into my cpanel and added the redirects back. However, it seems that JOOMSEF code is conflicting somehow with the 301 redirects from my host cpanel (after the cpanel edits, I find the change made in the .htaccess file).

I don't know what to do!
I want to keep JOOMSEF, but I need these secondary domains to point to their respective pages:

nitro-tape.com >> midsunspecialtyproducts.com/nitro-tape/
and
tommytape.com >> midsunspecialtyproducts.com/tommytape/

Btw, the case of the Virtuemart links (I even paid for the extension a few months ago) were causing problems between registration and checkout. The cart would clear immediately after the customer submitted the registration. We found used an analytics program that is was scaring away a lot of customers, and for the longest time I believed it to be a Virtuemart script problem. When we performed the move, the JOOM SEF got complicating so I turned it off in that area, and we found the cart worked again. So I'm keeping it off in that area.


If you can lead me in the right direction, it is greatly appreciated!
Last Edit: 14 years, 3 months ago by scottiedb.
The topic has been locked.

Re:Directory Move Issues 14 years, 3 months ago #14126

  • dajo
  • OFFLINE
  • Posts: 5069
Please post your current .htaccess file so I can take a look at it.

Best regards,
ARTIO Support Team
ARTIO Support Team
The topic has been locked.

Re:Directory Move Issues 14 years, 3 months ago #14130

##
# @version $Id: htaccess.txt 13415 2009-11-03 15:53:25Z ian $
# @package Joomla
# @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##

#####################################################
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################

## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks
 
#
# mod_rewrite in use

RewriteEngine On
 
########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
## Deny access to extension xml files (uncomment out to activate)
#<Files ~ "\.xml$">
#Order allow,deny
#Deny from all
#Satisfy all
#</Files>
## End of deny access to extension xml files
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits

# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)

RewriteBase /
 
########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section

RewriteCond %{HTTP_HOST} ^nitro-tape.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.nitro-tape.com$
RewriteRule ^(.*)$ "http\:\/\/www\.midsunspecialtyproducts\.com\/nitro\-tape/" [R=301,L]
 
RewriteCond %{HTTP_HOST} ^tommytape.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.tommytape.com$
RewriteRule ^/?$ "http\:\/\/www\.midsunspecialtyproducts\.com\/tommy\-tape\/" [R=301,L]
The topic has been locked.

Re:Directory Move Issues 14 years, 3 months ago #14133

  • dajo
  • OFFLINE
  • Posts: 5069
You need to move the redirection directives created by cpanel before the Joomla part - put it just after the RewriteEngine On line. New .htaccess will be:

##
# @version $Id: htaccess.txt 13415 2009-11-03 15:53:25Z ian $
# @package Joomla
# @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##

#####################################################
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################

## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks
 
#
# mod_rewrite in use

RewriteEngine On
 
RewriteCond %{HTTP_HOST} ^nitro-tape.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.nitro-tape.com$
RewriteRule ^(.*)$ "http\:\/\/www\.midsunspecialtyproducts\.com\/nitro\-tape/" [R=301,L]
 
RewriteCond %{HTTP_HOST} ^tommytape.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.tommytape.com$
RewriteRule ^/?$ "http\:\/\/www\.midsunspecialtyproducts\.com\/tommy\-tape\/" [R=301,L]
 
########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
## Deny access to extension xml files (uncomment out to activate)
#<Files ~ "\.xml$">
#Order allow,deny
#Deny from all
#Satisfy all
#</Files>
## End of deny access to extension xml files
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits

# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)

RewriteBase /
 
########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section
ARTIO Support Team
The topic has been locked.
  • Page:
  • 1
  • 2
User Login Empty