FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Product page getting Redirect back to Home page - Please Fix
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Product page getting Redirect back to Home page - Please Fix [message #176810] Thu, 26 January 2012 11:52 Go to next message
kanyalraj82(at)gmail(dot)com is currently offline  kanyalraj82(at)gmail(dot)com
Messages: 1
Registered: January 2012
Karma: 0
Junior Member
Hi all pelase help and fix my store.

Url: http://www.raxday.com/

When i click at the product - the correct url should be without any in
between character like this -c-1.html

http://www.raxday.com/nokia-6600-p-7.html -- incorrect url -- this
should be the correct url http://www.raxday.com/nokia-6600.html

when i try to click at the product the link http://www.raxday.com/nokia-6600-p-7.html
not opening but when i select open in new tab this link open please
fix this


#$Id: .htaccess.new 1020 2011-01-07 01:18:29Z michael(dot)oscmax(at)gmail(dot)com
$
#
# osCmax e-Commerce
# http://www.oscmax.com
#
# Copyright 2000 - 2011 osCmax
#
# Released under the GNU General Public License
#
#
# This is used with Apache WebServers
#
# For this to work, you must include the parameter 'Options' to
# the AllowOverride configuration
#
# Example:
#
# <Directory "/usr/local/apache/htdocs">
# AllowOverride Options
# </Directory>
#
# 'All' with also work. (This configuration is in the
# apache/conf/httpd.conf file)

# The following makes adjustments to the SSL protocol for Internet
# Explorer browsers

# BOF: Mod RC2A
#<IfModule mod_setenvif.c>
# <IfDefine SSL>
# SetEnvIf User-Agent ".*MSIE.*" \
# nokeepalive ssl-unclean-shutdown \
# downgrade-1.0 force-response-1.0
# </IfDefine>
#</IfModule>
# EOF: Mod RC2A

# If Search Engine Friendly URLs do not work, try enabling the
# following Apache configuration parameter

# AcceptPathInfo On

# Fix certain PHP values
# (commented out by default to prevent errors occuring on certain
# servers)

#<IfModule mod_php4.c>
# php_value session.use_trans_sid 0
# php_value register_globals 1
#</IfModule>
# BOF: MOD - Ultimate SEO URLs
## SEO Url's .htaccess file
## If you want to use the Apache Mod-Rewrite method for SEO URL's
## NOTE: This requires that you are on an apache web server with
mod_rewrite enabled.

<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On

# Change "catalog" to your catalog directory name:
RewriteBase /catalog/
## If installed to the base home/root directory, uncomment the below
code only:
#RewriteBase /

RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%
{QUERY_STRING}
RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%
{QUERY_STRING}
RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%
{QUERY_STRING}
RewriteRule ^(.*)-t-([0-9]+).html$ articles.php?tPath=$2&%
{QUERY_STRING}
RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$2&%
{QUERY_STRING}
RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&
%{QUERY_STRING}
RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?
products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-i-([0-9]+).html$ information.php?info_id=$2&%
{QUERY_STRING}
</ifModule>
# EOF: MOD - Ultimate SEO URLs

# BOF: HTTP Error Logging
# NOTE: if you've installed the catalog in a different directory,
change /catalog/ below. Don't leave of the leading /.
#ErrorDocument 400 /catalog/http_error.php?error_id=400
#ErrorDocument 401 /catalog/http_error.php?error_id=401
#ErrorDocument 403 /catalog/http_error.php?error_id=403
#ErrorDocument 404 /catalog/http_error.php?error_id=404
#ErrorDocument 405 /catalog/http_error.php?error_id=405
#ErrorDocument 408 /catalog/http_error.php?error_id=408
#ErrorDocument 415 /catalog/http_error.php?error_id=415
#ErrorDocument 500 /catalog/http_error.php?error_id=500
#ErrorDocument 501 /catalog/http_error.php?error_id=501
#ErrorDocument 502 /catalog/http_error.php?error_id=502
#ErrorDocument 503 /catalog/http_error.php?error_id=503
#ErrorDocument 505 /catalog/http_error.php?error_id=505
#ErrorDocument 504 /catalog/http_error.php?error_id=504
# EOF: HTTP Error Logging
Re: Product page getting Redirect back to Home page - Please Fix [message #176819 is a reply to message #176810] Thu, 26 January 2012 13:55 Go to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 1/26/2012 6:52 AM, kanyalraj82(at)gmail(dot)com wrote:
> Hi all pelase help and fix my store.
>
> Url: http://www.raxday.com/
>
> When i click at the product - the correct url should be without any in
> between character like this -c-1.html
>
> http://www.raxday.com/nokia-6600-p-7.html -- incorrect url -- this
> should be the correct url http://www.raxday.com/nokia-6600.html
>
> when i try to click at the product the link http://www.raxday.com/nokia-6600-p-7.html
> not opening but when i select open in new tab this link open please
> fix this
>
>
<Non-PHP junk delted>

And your PHP question is?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: loose thinking
Next Topic: approaches to PHP-based application interface?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 02:25:39 GMT 2024

Total time taken to generate the page: 0.02619 seconds