May 4, 2011

Imported Post Links are Incorrect. | 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
Imported Post Links are Incorrect.
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
March 7, 2022
10:21 pm
Avatar
jlarson.hollstadt
Member
Members
Forum Posts: 7
Member Since:
August 31, 2021
sp_UserOfflineSmall Offline

Greetings!

After successfully importing XML feed into Posts, the links for the posts (and Read More excerpts) are incorrect.  In our case, they are simply the ID field from the XML feed.  For instance, when clicking on the post title, instead of the link being Login to see this link it is just a0W1Q00000bLS28UAG coming from <Id>a0W1Q00000bLS28UAG</Id> in the XML feed. Where can this be updated in the import settings?

Thanks!

March 8, 2022
12:15 am
Avatar
CyberSEO
Admin
Forum Posts: 3913
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Could you post the feed's URL?

March 8, 2022
1:06 am
Avatar
jlarson.hollstadt
Member
Members
Forum Posts: 7
Member Since:
August 31, 2021
sp_UserOfflineSmall Offline

Login to see this link

March 8, 2022
2:14 am
Avatar
CyberSEO
Admin
Forum Posts: 3913
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

You can use the following PHP code to save the url as the post link:

Login to see the code

March 8, 2022
4:37 pm
Avatar
jlarson.hollstadt
Member
Members
Forum Posts: 7
Member Since:
August 31, 2021
sp_UserOfflineSmall Offline

I've added the code to the custom PHP code area but am getting the exact same result.  Is there an additional step that I am missing?

Thanks!

March 8, 2022
8:09 pm
Avatar
CyberSEO
Admin
Forum Posts: 3913
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Select the feed you are trying to pull, export its settings into a file and send it to Login to see this link

March 10, 2022
5:09 pm
Avatar
CyberSEO
Admin
Forum Posts: 3913
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Your code is incorrect:

Login to see the code

Here is the PHP code you need:

Login to see the code

March 15, 2022
8:39 pm
Avatar
jlarson.hollstadt
Member
Members
Forum Posts: 7
Member Since:
August 31, 2021
sp_UserOfflineSmall Offline

I've added the code exactly as you have posted to the Custom PHP code section of the Expert tab of the feed settings, unfortunately it is still not changing the link.  I've read through the documentation and have looked over all of the settings several time, is there something else I'm missing?  Perhaps a check box or a setting on another page?

March 15, 2022
8:49 pm
Avatar
CyberSEO
Admin
Forum Posts: 3913
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Select the feed you are trying to pull, export its settings into a file and send it to Login to see this link

March 15, 2022
9:55 pm
Avatar
CyberSEO
Admin
Forum Posts: 3913
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
10sp_Permalink sp_Print
0

I've checked your settings. Here is a correct code:

Login to see the code

March 15, 2022
10:01 pm
Avatar
jlarson.hollstadt
Member
Members
Forum Posts: 7
Member Since:
August 31, 2021
sp_UserOfflineSmall Offline
11sp_Permalink sp_Print
0

Sorry, I'm confused.  That's what I already had.

March 15, 2022
10:47 pm
Avatar
CyberSEO
Admin
Forum Posts: 3913
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
12sp_Permalink sp_Print
0

No. It's case-sensitive.

March 15, 2022
10:53 pm
Avatar
jlarson.hollstadt
Member
Members
Forum Posts: 7
Member Since:
August 31, 2021
sp_UserOfflineSmall Offline
13sp_Permalink sp_Print
0

Understood, it's working now.  Thank you!

March 15, 2022
11:06 pm
Avatar
CyberSEO
Admin
Forum Posts: 3913
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline
14sp_Permalink sp_Print
0

I'll implement an automatic case conversion in the next release.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online:
21 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 84

s.baryshev.aoasp: 68

Freedom: 61

Pandermos: 54

MediFormatica: 49

B8europe: 48

Member Stats:

Guest Posters: 337

Members: 2822

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1627

Posts: 8280

Newest Members:

danvasile.pentest, berberetata, rinikasyari, sneakpeachagency, bkc.tessier, igor.buzaev

Administrators: CyberSEO: 3913