Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4345062
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T11:59:04+00:00 2026-05-21T11:59:04+00:00

I have a web site with .htacess file looks like this: RewriteEngine On RewriteCond

  • 0

I have a web site with .htacess file looks like this:

RewriteEngine On
RewriteCond %{HTTP_HOST} !^wendabang.com$ [NC]
RewriteCond %{HTTP_HOST} !^www.wendabang.com$ [NC]
RewriteRule ^(.*)$ http://www.wendabang.com/$1 [L,R=301]

This morning when I was checking Google web master tool I fond in the back link section Google listed wendabang.com as a site has links back to http://www.wendabang.com site.
I think this issue should be rested in my .htacess file. But I can not spot the issue.

Another shameless question what I should do if I want to redirect http://www.wendabang.com/ and http://www.wendabang.com to wendabang.com, I think ditching http:// and www is nice.
Thank you in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T11:59:04+00:00Added an answer on May 21, 2026 at 11:59 am

    the site has multiple issues

    the http://www.wendebang.com/ redirects HTTP 302 temp. redirect to http://wendebang.com/. a HTTP 302 comunicate the start url to google as the right url. this means you tell google to see http://www.wendebang.com/ as the url it should display to its users.

    additionally, inside your HTML you have

    <link rel="canonical" href="http://www.wendabang.com">
    

    and your links look like this

    <a href="http://www.wendabang.com/web-analytics-beautiful-shortcomings.html"
    

    as the canonical tag is treated by google like an HTTP 301 permanent redirect you are google again redirecting to the www version.

    and a lot of the links point to the www version as well.

    at this stage i believe it is a only due to google magnificent error handling that your site is still indexed by google.

    1) please see this answer to see about the right way to da an www to non www redirect via .htaccess. Generic htaccess redirect www to non-www

    2) change your canonical tags to non www urls

    3) change your internal links to non www urls.

    and http is a protocol, you can not ditch it (said that, you could ditch is and invent your own protocol on top of the tcp/ip layer, but that is probably not what you want)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have web software where I need to have URLs like this http://site.com/page/var1/val1/var2//var3/val3 Then
I have a .htaccess file that looks like this: SetEnv APPLICATION_ENV development RewriteEngine On
So my .htaccess file looks like this RewriteBase / Redirect 301 /page.html http://www.yoursite.com/newpage.html Redirect
I have a web site http://www.mydomain.com Here I have created a sub folder http://www.mydomain.com/products
I have a dynamic page that looks like the following: www.sitedomain.com/page.php?id=30&name=about_our_company I want to
My current .htaccess looks like this: RewriteEngine On # RewriteCond %{REQUEST_URI} !^/_project RewriteCond %{REQUEST_FILENAME}
I have a .htaccess in my root of website that looks like this: RewriteEngine
I have PHP source code of http://www.sitename.com . This site is located on Windows
I have a .htaccess file in the root of a website: /var/www/mywebsite/htdocs/.htacess and I
I have a web site at http://www.urbanvision.org.uk/ , we have a Twitter feed on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.