redirecting dynamic url on custom wordpress page
6 posts
• Page 1 of 1
redirecting dynamic url on custom wordpress page
I use a page on my wordpress site to display property listings based on a variable in the url called "property_address". A typical url looks like this:
http://www.shreveportrealestate.com/shreveport-property-detail?property_address=5215-Monkhouse-Drive-Shreveport-LA-71109
I am wanting to do an internal redirect so my url looks like this:
http://www.shreveportrealestate.com/properties/5215-Monkhouse-Drive-Shreveport-LA-71109
Here is what I have tried, and it is not working:
RewriteCond %{REQUEST_URI} ^shreveport-property-detail [NC]
RewriteCond %{QUERY_STRING} ^property_address=(.*)
RewriteRule (.*) http://www.shreveportrealestate.com/properties/%1? [R=301,L]
RewriteRule ^properties/([A-Za-z0-9\-_]+)(.*) http://www.shreveportrealestate.com/shreveport-property-detail?property_address=$1 [NC]
http://www.shreveportrealestate.com/shreveport-property-detail?property_address=5215-Monkhouse-Drive-Shreveport-LA-71109
I am wanting to do an internal redirect so my url looks like this:
http://www.shreveportrealestate.com/properties/5215-Monkhouse-Drive-Shreveport-LA-71109
Here is what I have tried, and it is not working:
RewriteCond %{REQUEST_URI} ^shreveport-property-detail [NC]
RewriteCond %{QUERY_STRING} ^property_address=(.*)
RewriteRule (.*) http://www.shreveportrealestate.com/properties/%1? [R=301,L]
RewriteRule ^properties/([A-Za-z0-9\-_]+)(.*) http://www.shreveportrealestate.com/shreveport-property-detail?property_address=$1 [NC]
Re: redirecting dynamic url on custom wordpress page
Hello.
AFAIK Wordpress has built-in SE-friendly URL feature, you just need to enable it in control panel. You may still need ISAPI_Rewrite, as Wordpress will write its rules into the .htaccess file.
AFAIK Wordpress has built-in SE-friendly URL feature, you just need to enable it in control panel. You may still need ISAPI_Rewrite, as Wordpress will write its rules into the .htaccess file.
- wondergirl
-
- Posts: 1
- Joined: 03 Jul 2017, 07:33
Re: redirecting dynamic url on custom wordpress page
You have to add certain code in .htaccess file like pay for assignment . I found screenshot guide to redirect any domain by adding the code. Your answer is one part of this article. just check it I hope it will help You.
- molliegriffin
-
- Posts: 1
- Joined: 29 Aug 2017, 04:31
Re: redirecting dynamic url on custom wordpress page
URI is an acronym for Universal Resource Identifier.It is a standard for recognizing an asset (website, name, application, and so on.) over a PC organize (the greatest illustration being the Internet!)A completely qualified Internet URI must incorporate a convention (e.g. HTTP), a server (e.g. wiki), an area name (e.g. answers) and it's position inside the DNS structure (e.g. com)This educates the program application to utilize the http convention suite to speak with the wiki server which is found in the appropriate responses space of the .com segment of the DNS structure.URL - Abbreviation of Uniform Resource Locator, the worldwide address of archives and different assets on the World Wide Web. The initial segment of the address is known as a convention identifier and it shows what convention to utilize Help With Dissertation by Dissertation Club, and the second part is known as an asset name and it determines the IP address or the space name where the asset is found. The convention identifier and the asset name are isolated by a colon and two forward slices.
- saracanaday225
-
- Posts: 3
- Joined: 04 Jan 2018, 07:36
- Location: London, United Kingdom
Re: redirecting dynamic url on custom wordpress page
Today learn about how Do My Essay For Me UK can be of service to you. Receive the best quality of essay writing from Smart Essay Writers, where whether the internet is down or if there is a hailstorm, still all your academic needs are conceived without any panic attacks or frantic phone calls.
Re: redirecting dynamic url on custom wordpress page
you need to add positive code in .ht access report like pay for project . i found screenshot manual to redirect any domain via including the code. Your solution is one part of this article. just take a look at it i hope it'll help You.
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 11 guests