What to do when web address change according to the username?

Daikaiser

Client
Регистрация
06.09.2011
Сообщения
68
Благодарностей
9
Баллы
8
Hi, I am trying to create a template to fill the profile in wordpress, but I noticed that the href keeps changing to the username I used.

For example, if I use the username test123, the href would be test123.wordpress.com, so if I use the template for another username it will give me an error.

Is there a way to solve this? Thanks
 

drvosjeca

Client
Регистрация
26.10.2011
Сообщения
512
Благодарностей
455
Баллы
63
you need to use regex for it... So basicly if url is like this http://website.com/username then you need to use go to site and input there url/username-|-page
url and username can be pulled from get result

contact me on skype if you cant do it... ;-)
 
  • Спасибо
Реакции: Daikaiser

Daikaiser

Client
Регистрация
06.09.2011
Сообщения
68
Благодарностей
9
Баллы
8
Thanks a lot for taking the time to help me Drvosjeca. The template you send me was crisp and clear, very easy to use. It sure helped me solve this issue that was driving me crazy. You sure know what you are talking about!
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)