WordPress.org

Ready to get started?Download WordPress

Forums

Sampression Lite
[resolved] Sampression Lite - Upgrade is not working (18 posts)

  1. ambuj
    Member
    Posted 8 months ago #

    I just installed and activated my website to "Sampression Lite". Home page is working fine but when I click on any post or page it says the URL can not be found on the server. Any Idea as why this is coming?

  2. ambuj
    Member
    Posted 8 months ago #

  3. WPyogi
    Volunteer Moderator
    Posted 8 months ago #

    Seems to be working fine for me - have you cleared your browser cache?

  4. ambuj
    Member
    Posted 8 months ago #

    I just noticed that it's working fine with default permalinks but when I change it to other formats, for example - Day name, Month name etc. it stops working. Any workaround for this?

  5. WPMU DEV
    Member
    Posted 8 months ago #

    Hi @ambuj,

    I hope you are well today and thank you for your question.

    After changing permalink from back end, The second step is to redirect your old permalinks to your new ones if it is not redirected automatically.

    To do that, you have to add redirects to your .htaccess file, There is a tool that generates these redirects for you based on your domain and your old permalink structure. To use this tool, click on this link http://yoast.com/wp-content/permalink-helper.php and add the generated redirects in your .htaccess file.

    Best Regards,

  6. ambuj
    Member
    Posted 8 months ago #

    Hi WPMU DEV,

    Thanks for the help. The problem is resolved. But, I am having another problem. Title for the post/page is not coming.

    Any solution around this?

    Thanks & Regards,
    Nitesh Ambuj

  7. WPMU DEV
    Member
    Posted 8 months ago #

    Hi @ambuj,

    You are welcome.

    I checked your site http://www.niteshambuj.com/ and found that post title is displaying properly.

    Can you just tell me exactly with url if possible where it is not displaying?

    Best Regards,

  8. ambuj
    Member
    Posted 8 months ago #

    http://www.niteshambuj.com/2011/08/20/why-anna-is-important/ - Title in the browser is not as per the post. It goes with other posts as well.

  9. WPMU DEV
    Member
    Posted 8 months ago #

    Hi @ambuj,

    Thanks for reply.

    Currently the title of post http://www.niteshambuj.com/2011/08/20/why-anna-is-important/ is "Why Anna Is Important?".

    Is it not what you expected? If not then what's the desired title it should be?

    Best Regards,

  10. ambuj
    Member
    Posted 8 months ago #

    I am not getting it. I can see the title in the browser (Chrome) as just Nitesh Ambuj and not "Why Anna Is Important?".

    In fact, I am expecting the title as "Why Anna Is Important?"

    Is there something wrong with browser? But, the same (Just "Nitesh Ambuj" as title) it coming in IE as well. Just checked.

  11. ambuj
    Member
    Posted 8 months ago #

    Checked with my friends as well. Title is not getting updated.

  12. WPMU DEV
    Member
    Posted 8 months ago #

    Hi @ambuj,

    Thanks for reply.

    I have attached the screenshot http://i.imgur.com/qgl2Q3k.png?1 of what i see in the browser.

    Can you just show me the same by taking screenshot of the page?

    Best Regards,

  13. ambuj
    Member
    Posted 8 months ago #

    I am talking about this... please see attached image. The title in the browser not the post title.

    http://www.niteshambuj.com/images/na1.png

    See the same for posts and pages..

  14. WPMU DEV
    Member
    Posted 8 months ago #

    Hi @ambuj,

    Thanks for reply and showing me screenshot.

    I saw the problem, the title of page/post is not displaying in browser title bar.

    I downloaded the theme from http://wordpress.org/themes/sampression-lite and checked the code. i found in the code that the theme only displays blog name for page/post and for home/front page it displays blog description along with blog name if it is set in back end.

    To display post/page title in browser title bar along with blog name, add following code in functions.php file of your child theme or develop a WordPress plugin and add following code in it.

    add_action('wp', 'remove_sampression_filter');
    
    function remove_sampression_filter(){
    	remove_filter( 'wp_title', 'sampression_filter_wp_title' );
    }
    
    add_filter( 'wp_title', 'sampression_custom_filter_wp_title',99 );
    
    function sampression_custom_filter_wp_title() {
    
    	// Add the blog name.
    	 bloginfo( 'name' );
    
    	// Add the blog description for the home/front page.
    	$site_description = get_bloginfo( 'description', 'display' );
    	if ( $site_description && ( is_home() || is_front_page() ) ){
    		echo " | $site_description";
    	} else if( is_singular() ) {
    		echo " | " . get_the_title();
    	}
    }

    Best Regards,

  15. Sampression
    Member
    Theme Author

    Posted 8 months ago #

    Hi @ambuj, thank you for using our theme - we're coming up with a new version of Sampression Lite soon.

    @wpmu dev thank you for your suggestions.

  16. ambuj
    Member
    Posted 8 months ago #

    @WPMU Dev -- thanks for the suggestion. will try to implement this.

    @Sampression -- This is one of the best themes I have seen in the recent time. There are couple of glitched like mentioned above and I hope you would rectify them going forward.

    Thanks!

  17. WPMU DEV
    Member
    Posted 8 months ago #

    Hi @Sampression,

    You are welcome.

    Hi @ambuj,

    You are also welcome and also let me know if you face any issue implementing it.

    Cheers.

  18. ambuj
    Member
    Posted 7 months ago #

    URL Problem is still coming -- I added Redirect Code to .htaccess as mentioned below. But, it's still not working..

    RedirectMatch 301 ^/([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*)$ http://www.niteshambuj.com/$4

Reply

You must log in to post.

About this Theme

About this Topic