Htaccess funny characters
-
Hi
Panda update,tickled, slapped and then punched us.
I'm now weeding through crawl errors, one of them is
http://www.flasharcadegamessite.com/26226-paper-airplane-flight.html">paper airplane flight
I tried 301 this to it's proper page using
Redirect 301 /26226-paper-airplane-flight.html">paper airplane flight http://www.flasharcadegamessite.com/26226-paper-airplane-flight.html
but the server starts spitting out 500 errors.
How does one add that rule into htaccess ?
thanks
-
Hi
I've already done away with our own embed linking facility and chosen addthis.
I'll have to read up on regexes.
thanks
-
You need to utilise some regex, though I'm unsure of the actual regex code to match ">
In future offer a service to embed a link, then bloggers etc will always get the right url and also you can control anchor text.
-
Hi
The offending link is a french blogpost.
I have a bout 2-300 various links like this where people posting on sites etc have entered incorrect urls.
What I would like to know is how do I cater for ("/.>) characters in htaccess?
thanks
-
You are probably experiencing this error because of the "> in the URL you are trying to redirect.
Looks like the crawl has highlighted the as an error as it may have found a malformed link linking to the Paper Airplane Flight page. It looks as though you have a link that may look as follows ">paper airplane flight Notice the extra "> after the link URL.
You need to find the offending link on the site and fix it. That will solve the error.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Underscores, capitals, non ASCII characters in image URLs - does it matter?
I see this strangely formatted image URLs on websites time and again - is this an issue - I imagine it isn't best practice but does it make any difference to SEO? Thanks in advance, Luke
Intermediate & Advanced SEO | | McTaggart0 -
Htaccess maximum size?
Hello all, The company that develops our website recently contacted and asked me if we could remove a large amount of URL rewrites. I've described a few factors and my main questions below. Some information: One year ago we did a large migration. We went from 27 websites to one main website. We have got about 2000 rewrites in the htaccess file. And the file is 208kb. A lot of links from our old domains still have incoming traffic which are handled by the rewrite rules mentioned above. Questions:
Intermediate & Advanced SEO | | DPA
The company that develops our website said that the htaccess file is too large and is causing or could be causing us website performance issues. They have asked us to remove URL rewrites.
My question is:
a) How many rewrites is too much?
b) Is the filesize of the htaccess of any importance or is it just the amount of rewrites in the file?
c) Could we solve any potential server/website performance issues due to a large htaccess file in any other way? Increasing some values like 'post_max_size' or by any other solutions handled serverside? I do not have a lot of knowledge of htaccess rules but I've seen websites that handled over a million of rewrite rules. This is why I'm having doubts on whether removing URL rewrites is the only solution and possibly not the best solution for us. Hopefully you can help me any further and with the best way to proceed without losing traffic or causing 404 pages. Thanks in advance!
Iordache Voicu0 -
Quick htaccess question
Hi! I'm trying to do a 301 from www.stevesims.com/index.htm to www.stevesims.com. I know I need to use the request command to avoid an infinite loop, but I can't quite figure out the correct code. Here's the first part of the htaccess file. RewriteEngine On RewriteCond %{HTTP_HOST} ^stevesims.com
Intermediate & Advanced SEO | | Blink-SEO
RewriteRule (.*) http://www.stevesims.com/$1 [R=301,L] RewriteCond %{HTTP_REFERER} !^http://stevesims.com/.$ [NC]
RewriteCond %{HTTP_REFERER} !^http://stevesims.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.stevesims.com/.$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.stevesims.com$ [NC]
RewriteRule .*.(jpg|jpeg|gif|png|bmp)$ - [F,NC] Any suggestions would be much appreciated.0 -
Why isnt my crawl results showing a 301 redirect even though I have a 301 rewrite in my .htaccess file?
Ive searched the previous Q&A's & cant find an answer so I;ll ask it here 🙂 crawling my site shows isnt the 301 redirect that i have from my non www to my www domainIts only showing all the results for my www subdomain.As i'm new to SEO & SeoMoz I dont fully understand. Any help would be greatly appreciated because my site is like 2 & a half years old & i'm trying to learn seo so I can rank higher in the serp's. Thanks
Intermediate & Advanced SEO | | PCTechGuy20120 -
Annzoseo - Keeps Calling, funny SEO Phone Conversation!
This company annzoseo keeps calling to get me to jump on to their SEO package that would guarantee me top rankings on the keywords I currently bid on with Google Adwords.. I really love these kind of calls because it is so much fun to probe and see how they do things.. I did a basic crawl for the site and sure enough they are ranking for specific keywords they mentioned in their phone call. However if you do a deeper search you will find tons of directory links that are like an never ending loop of links from forums and web site testing tools where it places a URL. The call was dropped after I spoke to a tech and asked more questions about the process of getting links, etc. When I reviewed some of their customer testimonials from a normal perspective things look great however when you dig a bit deeper you see the problem for the customers. Example: /case/first-rate-plumbing-.html I took to first company listed .. The keyword they brag about is "emergency plumbing services in colorado springs" however they are not found on the first page anymore yet they claim it on their site at the same notion. The site firstrateplumbing-heating dot com does not even show up now after the recent updates from Google from what I can imagine based on the low quality and number of outbound links. Their sales team is contacting anyone who is advertising in the Google Adwords Program claiming that you are only getting 20% of all the traffic on the web.. However before they make these comments they should at least look at the website they are calling to see other things that company is already doing well with. I was blown away from this call, so I dug deeper and found these types of links for their company. Not only when you search for this company it has poor results however going to the second page I found a great link from Complaints, Reviews - Fraud SEO company it has a few companies complaining about the service... I am shocked, as an SEO myself to see companies out on the web taking companies hard earned cash and giving them noting in return but a possibility they may be flagged one day for spammy techniques that don't work anymore. Ok Ok, I feel like I am writing a novel here but I just wanted to get the word out about these types of slick oil SEO firms that pollute the industry and make the rest of us all look bad. Oh and I forgot they push they are certified by seocertification.org thats cool because All I have to do is pay some money and I am in... NICE I can keep going on with this site as a perfect example and examine more however, I would be curious on what the Group could dig up on this company.. IT would be a FUN little Project to help protect and educate other company owners not to get their company in a pickle with people like this...Sorry If I pissed anyone off.
Intermediate & Advanced SEO | | Ben-HPB0 -
Guest Blogging Funny Problem!
Well it made me laugh and then cry a little after anyway. I have a keyword which is ranking page 1 position 7, I created a really nice article with content relevant to the keyword maybe around 600 words. I spent maybe half hour researching blogs on myblogguest looking for one that was based in the same country, had really good mozbar stats, even checked out how quickly other posts got indexed. I put 2 anchor text links in the article and managed to get the blogger to post the article. Next day checked the rankings and the post on the blog is now position 7, and has knocked me to position 8. I'm tempted to ask the blogger to change the title tag not to include my targeted keyword. Anyone got an advice on this?
Intermediate & Advanced SEO | | activitysuper0 -
Page Title - Truncated - Even though it is less than 66 characters
Our page title is 64 characters, but it is still be truncated by Google even though it is less than the allotted 66 characters. Our Title: Women & Mens Sunglasses as low as $10 to $20 - SunglassDeals.com Truncated to: Women & Mens Sunglasses as low as $10 to $20 - SunglassDeals ... To see, search "sunglassdeals.com" on google.com. Any answers or help would be appreciated. Thanks. James
Intermediate & Advanced SEO | | tuckjames0 -
Do search engines understand special/foreign characters?
We carry a few brands that have special foreign characters, e.g., Kühl, Lolë, but do search engines recognize special unicode characters? Obviously we would want to spend more energy optimizing keywords that potential customers can type with a keyboard, but is it worthwhile to throw in some encoded keywords and anchor text for people that copy-paste these words into a search? Do search engines typically equate special characters to their closest English equivalent, or are "Kuhl", "Kühl" and "Kühl" three entirely different terms?
Intermediate & Advanced SEO | | TahoeMountain400