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 8300559
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T16:36:10+00:00 2026-06-08T16:36:10+00:00

I am back for advice. I have a site that needs SEO help and

  • 0

I am back for advice. I have a site that needs SEO help and have been asked to ad a 301 redirect. This site is a convertion to django from php I gather. Now I have been given a csv of about 700 URL’s all basically of

http://www.rhodeislandrow.com/floor-plans/search/?sort=price_desc&floor=—&max_price=1304&min_price=0&csrfmiddlewaretoken=3688d94aa3454e592f016d032a126328&availability=1322629596

Well I decided after research that I needed to do a from django.views.generic.simple import redirect_to work around. But playing with this, it’s not working. Can any one help me with a pointer on what to use? I have read the docs here:

https://docs.djangoproject.com/en/dev/ref/request-response/#django.http.HttpResponsePermanentRedirect

and here are my URL’s:

from django.conf.urls.defaults import patterns, include, url
from django.contrib import admin
from django.views.generic.simple import direct_to_template
from django.views.generic.simple import redirect_to
from main.sitemaps import sitemaps
from main.views import *
admin.autodiscover()



urlpatterns = patterns('',
    # Redirects from old site
    (r'^floor-plans/search/$', redirect_to, {'url': 'http://www.rhodeislandrow.com/floor-plans/'}),

    url(r'^admin/', include(admin.site.urls)),
    url(r'^subscribe/$', SubscribeView, name='subscribe'),
    url(r'^vaultware-template/$', VaultwareTemplateView.as_view()),

    url(r'^', include('stateful.urls')),
    url(r'^', include('cms.urls')),
    (r'^sitemap\.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps}),
    (r'^robots.txt$', include('robots.urls')),
)
  • 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-06-08T16:36:13+00:00Added an answer on June 8, 2026 at 4:36 pm

    I figured it out. Because my URL’s are not ending in /search/ I needed to add the wildcard

    (r'^floor-plans/search/.*$', redirect_to, {'url': 'http://www.rhodeislandrow.com/floor-plans/'}),
    

    Thanks for the responses and I will use the redirect app for future projects.

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

Sidebar

Related Questions

I have a site. Would it help its SEO ranking if I allow B2B
I have a site which does not have a DB in the back-end but
So we have a real-estate-related site that has controller/action pairs like homes/view, realtors/edit, and
I have a site which offers help information for users of a much larger
Any help and advice deeply appreciated. I want to create a RoR website that
I have been looking for a way to do this all around the internet
Good Morning All, I have inherited an ASP.net website that was originally started back
I have a Java project that builds using Apache Ant to a website. This
Been looking around google and StackOverflow, everybody practically have the same advice to do:
Back in October, Kristopher Johnson asked about Accounting Software Design Patterns He received several

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.