Forum Moderators: phranque

Message Too Old, No Replies

Need .htaccess Help

         

WenM

3:35 pm on May 18, 2012 (gmt 0)

10+ Year Member



Hi g1smd!

I, too, have this issue with my links like this:

http://example.com/ishop/%3Fwpsc-product%3Diberital-mc2-challenge-coffee-grinder-3

my .htaccess begins like this:

IndexIgnore .htaccess */.?* *~ *# */HEADER* */README* */_vti*

what do I change to correct this issue, please?

Thanks, in anticipation! :)

[edited by: incrediBILL at 3:15 am (utc) on May 20, 2012]
[edit reason] fixed URLS, use Example.com [/edit]

g1smd

7:09 pm on May 18, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Let's see YOUR code.

And, as the sticky thread says: "Use EXAMPLE.COM in this forum".

WenM

7:56 pm on May 18, 2012 (gmt 0)

10+ Year Member



here's my .htaccess code:


IndexIgnore .htaccess */.?* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
#The next line modified by DenyIP
order allow,deny
#The next line modified by DenyIP
#deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName example.com

<Files 403.shtml>
order allow,deny
allow from all
</Files>

deny from 194.186.88.56
deny from 38.101.219.98
deny from 93.170.52.20
deny from 46.17.96.12


here's a link which you'll see the '?' in the middle...

http://example.com/ishop/?wpsc_product_category=fresh-coffee-beans

thanks afor your time and hoping to resolve this soon! :)

[edited by: incrediBILL at 9:57 pm (utc) on May 18, 2012]
[edit reason] fixed URLS, use Example.com [/edit]

johnhh

8:03 pm on May 18, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



And, as the sticky thread says: "Use EXAMPLE.COM in this forum".


WenM
You cannot post actual urls here.

WenM

8:21 pm on May 18, 2012 (gmt 0)

10+ Year Member



oh, sorry...here's and an example:

http://www.example.com/ishop/?wpsc_product_category=accessories-product

you'll see the '?' after ishop/

also, when I check seo links, they're coming out like:

http://www.example.com/ishop/?wpsc-product=iberital-mc2-challenge-coffee-grinder-3

I also note the '%3F' in the main url when clicked

then this notice:

Not Found

The requested URL /ishop/?page_id=12 was not found on this server.

WenM

11:03 am on May 19, 2012 (gmt 0)

10+ Year Member



can any kind soul assist, please :)

lucy24

12:54 am on May 20, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I wish this had gone in a fresh thread because I'm not sure you have the same problem. In fact I hope not, or you could have used the same solution.

First and most important question: Does your site actually use query strings (the ? and = that encode to %3F and %3D)? There are two entirely different potential problems: disencoding queries, or getting rid of them.

:: wandering off in search of moderator ::

WenM

10:00 am on May 20, 2012 (gmt 0)

10+ Year Member



Hi Lucy

I managed to resolve the issue myself as the wait was too long...I am working with Wordpress, and just altered the .htaccess to accomodate the new permalink string. Thanks for taking the time to answer!

g1smd

5:11 pm on May 20, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Unfortunately, the people here also have paid work to attend to and giving free advice on a forum has to take third place behind that and family commitments.

Perhaps you could post your solution here so that the next person with this problem can simply refer to your answer. :)