# Self hosted wordpress to jekyll

**URL:** <https://talk.jekyllrb.com/t/self-hosted-wordpress-to-jekyll/2098>\
**Category:** Uncategorized\
**Created:** [August 23, 2018, 11:31am UTC](https://talk.jekyllrb.com/t/self-hosted-wordpress-to-jekyll/2098 "2018-08-23T11:31:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gleb](https://avatars.discourse-cdn.com/v4/letter/g/f4b2a3/32.png) [@gleb](https://talk.jekyllrb.com/u/gleb)\
**Post date:** [August 23, 2018, 11:31am UTC](https://talk.jekyllrb.com/t/self-hosted-wordpress-to-jekyll/2098/1 "2018-08-23T11:31:27Z")

</div>

I’m trying to use [WordPress — jekyll-import • Import your old & busted site to Jekyll](https://import.jekyllrb.com/docs/wordpress/) but get such error:

> -e:3: syntax error, unexpected tSTRING\_BEG, expecting keyword\_do or ‘{’ or ‘(’  
> “dbname” =\> “db\_name”,  
> ^  
> -e:3: syntax error, unexpected tIDENTIFIER, expecting end-of-input  
> “dbname” =\> “db\_name”,  
> ^~~~

how to solve it?
