May 4, 2011

Use same URL slug as copied source | CyberSEO Pro | Support Forum

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
Use same URL slug as copied source
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
January 7, 2023
4:08 am
Avatar
lover.liweern
New Member
Members
Forum Posts: 1
Member Since:
January 4, 2023
sp_UserOfflineSmall Offline

Hi,

I’m currently pulling posts from my competitors.

How do I make sure my post url slug is the same as my competitor’s?

example:

Login to see this linkbutterfly-stomach

Login to see this linkbutterfly-stomach

January 7, 2023
8:39 am
Avatar
CyberSEO
Admin
Forum Posts: 3709
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

I think you just can’t. The post slug is an internal WordPress-specific thing, which can be made of post title, but may be different. Since it’s a part of the imported post’s URL, you my try to get it via PHP code:

Exact it from the source post link, which is stored in $post[‘link’]

Save it as $post[‘post_name’], which will be a slug for the newly generated post.

Please read how to write custom PHP snippets here: Login to see this link

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online:
2 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 84

s.baryshev.aoasp: 64

Freedom: 61

MediFormatica: 49

B8europe: 47

saviulisse67: 45

Member Stats:

Guest Posters: 338

Members: 2667

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1549

Posts: 7829

Newest Members:

mark.frontiercreative, fairriverllc, josepatricioperalta, goran.o.aroga, betomanzoli, monefff

Administrators: CyberSEO: 3709