Portfolio Slug Redirect / SEO Issues
November 9, 2012 at 10:31 am #3751
My client’s site has a their portfolio set up at http://www.thewritingcompany.co.il/our-portfolio/.
Individual portfolio pages are at http://www.thewritingcompany.co.il/portfolio/idc-herzliya/.
How do I get http://www.thewritingcompany.co.il/portfolio/ to redirect to http://www.thewritingcompany.co.il/our-portfolio/? If someone is on the individual page and removes the name of the item, they’re brought to the “slug” page of “portfolio” which we would not want them to see.
It’s more then just an asthetics issue as http://www.thewritingcompany.co.il/portfolio/ is getting recognized as a page by “WordPress SEO by Yoast” and therefore is added to the XML sitemap.
Thanks for your help as always!
November 9, 2012 at 1:55 pm #3765
- This topic was modified 5 years, 4 months ago by tem.
Pls check out this post : http://www.s5themes.com/forums/reply/reply-to-how-to-change-portfolio-to-projects/November 9, 2012 at 3:25 pm #3782
This doesn’t solve my problem.
I’ll try to explain it a bit better. For both UI and SEO purposes, the portfolio page (as defined in theme options) and the slug used by the portfolio post-type should be one-in-the-same.
There should be a way to do this.
Why does the portfolio slug default to display the portfolio items as if they were blog posts and not like it should (http://demo.s5themes.com/simplenbright/full-width-portfolio/)?
Also, as I mentioned, the current problem causes an issue regarding SEO (and sitemaps of course) as http://demo.s5themes.com/simplenbright/full-width-portfolio/ and http://demo.s5themes.com/simplenbright/portfolio/ are duplicate contents of each other just displayed differently.
Please let me know if you need more clarification. I really need to fix this.
Thanks!November 10, 2012 at 8:50 pm #3828
Sorry but i dont quite follow you. All i can say about what you mentioned above is that fullwidth portfolio and regular portfolio template are not supposed to be used both at a time, as you just need to choose one of it. You see both of them on the demo, for, obviously, demo purposes.
Not sure why the solution in that topic doesnt solve you problem, you practically can set the portfolio url as you wish, to meet your seo needs.November 10, 2012 at 9:00 pm #3832
Gabi – thanks for all your help and building a wonderful theme – and offering it for free. I don’t want to forget to say this.
My issue is extremely simple and I don’t know why it’s so hard to understand. I tried using examples from your demo site to make it easier for you to understand that it’s a theme issue and not a user issue.
Let me see if I can explain myself one more time a little better:
On my client’s site, http://www.thewritingcompany.co.il/our-portfolio/ is a “page” by definition in WordPress. Here we’ve chosen to use the Full-Width Portfolio template.
http://www.thewritingcompany.co.il/portfolio/ is not a page we made – its an automatically built “archive page” for the custom category called “portfolio” which is made by using your built-in portfolio system.
These two pages would be considered by Google duplicate content. Additionally, the later is not a user-friendly page. We don’t want them to see this “ugly” portfolio page.
In order to solve the problem, there needs to be a function that instead of us manually creating our portfolio page, that it uses the default built-in category but somewhere in your theme options we get to choose which template (full width or with sidebar) is used.
I really hope this clarifies things…
ThanksNovember 10, 2012 at 9:26 pm #3837
Well…. what can i say? i should buy you a beer 🙂 I totally understand now, and you are right. We will surely consider this on monday and try to find a quick fix for it. Thank you for the heads-up!November 10, 2012 at 10:55 pm #3843
Because of the WP Template hierarchy, /portfolio loads ‘archive.php’ if ‘archive-$posttype.php’ (in this case archive-portfolio.php) is not present. So, you can create the ‘archive-portfolio.php’ and add <?php include (‘template.portfolio.3cols.php’) ?> inside. See if it solves your problem.November 11, 2012 at 9:18 am #3848
Gabi – I’ll take that beer next time your in my country!
Ovidiu – this make a lot of sence. Where exactly would I add this code? I tried a few places and it didn’t work (it just displayed the code as text on the page). Is there other code I need to remove?
Thanks guys!!November 11, 2012 at 10:15 am #3849
Ovidiu means to create a new php file with that name, and put that code inside it. Nothing else. And just add the file to the theme folder.November 11, 2012 at 10:26 am #3850
It sort-of worked…
I displays as it should using the correct template, but it’s repeating itself. I currently only have 3 items in the portfolio, but it’s displaying everything 3 times.November 11, 2012 at 3:46 pm #3852
I also noticed that it displays the wrong page name and title tag…
November 19, 2012 at 12:49 pm #3964
- This reply was modified 5 years, 4 months ago by tem.
Any updates on this matter???November 20, 2012 at 3:47 pm #3987
Hey Tem; we updated/fixed theme files. Now you can download a fresh copy of simplenbright zip file and only you need to update 3 files bellow:
1. functions.php (you need to update this file for the portfolio archive pagination)
2. archive-portfolio.php (you need to upload this new file for the portfolio archive page)
3. admin/inc/wp-hooks.php (you need to update this file for the archive-portfolio.php quicksand filter.)
Thats All.November 20, 2012 at 4:04 pm #3989
The slider on the homepage stopped working after these updates.November 20, 2012 at 4:19 pm #3990
You must be logged in to reply to this topic.