Search Engine friendly URLs

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Watch

john888

Established Member
Impact
271
I have Apache WordPress domain name site.

I have created Name Server redirect URL’s for my domain names such as:

https:/mywebsite.com/domain/?=domain-name1.com
https:/mywebsite.com/domain/?=domain-name2.com
etc..

Mywebsite.com is a WordPress site and page “domain” will use the URL parameter ?=domain-name1 and dynamically place “domain-name1 is for sale” on the page.

I would like to have Search Engine friendly URLs such as:

https:/mywebsite.com/domain/domain-name1/

but use one page called “domain” with dynamic scripting that uses the parameter “domain-name1”

I have tried using WordPress Permalink Settings to clean up the page URL, but I believe the Permalink Settings are only for cleaning up the WordPress database generated URLs.

Is there any htaccess mod rewrite code that will do the trick?

Thanks.
 
1
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
1
Close
I have Apache WordPress domain name site.

I have created Name Server redirect URL’s for my domain names such as:

https:/mywebsite.com/domain/?=domain-name1.com
https:/mywebsite.com/domain/?=domain-name2.com
etc..

Mywebsite.com is a WordPress site and page “domain” will use the URL parameter ?=domain-name1 and dynamically place “domain-name1 is for sale” on the page.

I would like to have Search Engine friendly URLs such as:

https:/mywebsite.com/domain/domain-name1/

but use one page called “domain” with dynamic scripting that uses the parameter “domain-name1”

I have tried using WordPress Permalink Settings to clean up the page URL, but I believe the Permalink Settings are only for cleaning up the WordPress database generated URLs.

Is there any htaccess mod rewrite code that will do the trick?

Thanks.
Yes such htaccess directives do exist. Posting it here might compromise the page.

But first correct the error. You have syntax (error) in the URI:
https:/mywebsite.com/domain/?=domain-name1.com

Variable name missing. it should be:
https:/mywebsite.com/domain/?varibalename=domain-name1.com

Hope this helps.
 
Last edited:
1
Close
Thanks. What is best a 301 or 302 redirect in this case? I am still not sure if Chrome is blocking some traffic since "mywebsite.com" has SSH but not the domains being redirected. This may take multiple domain aliases to individual pages to please Google.
 
1
Close
Thanks. What is best a 301 or 302 redirect in this case? I am still not sure if Chrome is blocking some traffic since "mywebsite.com" has SSH but not the domains being redirected. This may take multiple domain aliases to individual pages to please Google.
301 is permanent, 302 is temporary. Your choice.
 
0
Close
Appraise.net

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

A browser tab with a favicon next to the page title
Search members
You can now search for members by name, company, location and more. Open the search at the top of any page and choose Members. You will...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back