homepage Welcome to WebmasterWorld Guest from 54.204.178.31
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / WordPress
Forum Library, Charter, Moderators: lorax & rogerd

WordPress Forum

    
Question about changing url structure?
jbayabas

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4595319 posted 12:55 pm on Jul 22, 2013 (gmt 0)

I want to change the name of the page of my url structure? Example www.domain.com/page/73 to www.domain.com/topic/73

How do I change "page" to "topic" in wordpress?

 

lorax

WebmasterWorld Administrator lorax us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4595319 posted 1:09 pm on Jul 22, 2013 (gmt 0)

Can you do what you want with the permalink settings [codex.wordpress.org]?

jbayabas

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4595319 posted 1:11 pm on Jul 22, 2013 (gmt 0)

I already set the permalinks to "Day and name" but the page is still appearing.

Let's say I want to change www.domain.com/page/2 to www.domain.com/mypage/2

how do I convert page to mypage?

lorax

WebmasterWorld Administrator lorax us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4595319 posted 2:05 pm on Jul 22, 2013 (gmt 0)

In your example above, is /mypage/2 a real page or just a URL you wish to use? If it's a fake page that you want to resolve to /page/2 then you can use a redirection plugin

How many of these pages/urls do you have?

jbayabas

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4595319 posted 4:03 pm on Jul 22, 2013 (gmt 0)

actually I want the word "page" to replace to "pagina". So it should look like this www.domain.com/pagina/2

Is there a way to do that?

Planet13

WebmasterWorld Senior Member planet13 us a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month



 
Msg#: 4595319 posted 4:45 pm on Jul 22, 2013 (gmt 0)

Just a note (and I apologize if I you already know this).

If you do 301 redirects to those new pages with the /pagina/ URL format, you will lose link juice from backlinks to those pages.

lucy24

WebmasterWorld Senior Member lucy24 us a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month



 
Msg#: 4595319 posted 4:51 pm on Jul 22, 2013 (gmt 0)

Are you talking about pages that already exist, or pages you will be creating in the future?

Naming new pages is one thing. Redirecting existing pages is another.

jbayabas

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4595319 posted 5:17 pm on Jul 22, 2013 (gmt 0)

i would like my WP URLs to be fully in the language of one of my clients so instead of:

site.com/page/2/

i would like to have:

site.com/pagina/2/ (in spanish)

how can i accomplish this? i tried to do simple str_replace on default rules but when accessing site.com/pagina/2/ WP redirects me to site.com/pagina/2/page/2/

any ideas what could be wrong ?

jbayabas

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4595319 posted 9:28 pm on Jul 23, 2013 (gmt 0)

I figured it out. I asked on Wordpress forum.

phranque

WebmasterWorld Administrator phranque us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



 
Msg#: 4595319 posted 10:17 pm on Jul 23, 2013 (gmt 0)

what was your solution, jbayabas?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WordPress
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved