New Landing How can we help? Themeforest Theme Support Pinpoint Remove ?portfolio= from URL structure

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Pinpoint
  • #664
    AuthenticUK
    Member
    Post count: 29

    Hi guys, great site!

    For SEO I would like to remove the ?porfolio= parameter from URLs – can this be done? I really like what you’ve done with the portfolio posts, but want them to look clean to Google.

    Bw

    Carina

     

     

    #668
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi Carina,

    You would need to edit a theme file. There still needs to be something in there, it can’t be completely removed, but at least let’s try and make it look nicer, as in /portfolio/some-project ๐Ÿ™‚

    Open includes/custom-post-types/portfolio-type.php and, on line 48, change this:

    'rewrite' => false,

    to this:

    'rewrite' => array( 'slug' => 'portfolio' ),

    Of course, you can name it whatever you like and that will be your portfolio base URL, as long as you don’t have another page/post with the same URL slug.

    Regards,

    โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”

    Cosmin
    Support Assistant

    #11686
    jefreje
    Member
    Post count: 7

    Hello there!!

    I did what you said about changing the url and it works very well, but after change it, i just see a 404 error page…

    I ve tried to clean the cache of the browser but nothing changes.

    Any idea?

    Regards,

    Jesus

    #11739
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hello Jesus,

    After doing the change, try visiting your Settings/Permalinks page in WordPress and let me know if it’s still generating that 404.

    Regards,
    โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”

    Cosmin – Support

    #11752
    jefreje
    Member
    Post count: 7

    Yes, now working correctly!!

    Thank you again,

    Regards,

    Jesus

    #11881
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Cool, glad to hear that Jesus ๐Ÿ™‚

    If you like the product and support, please take a moment to rate our theme in your ThemeForest downloads area, we would greatly appreciate it!

    Regards,
    โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”โ€”

    Cosmin – Support

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register